/*
* Copyright (C) 2004-2010  Autodesk, Inc.
* 
* This library is free software; you can redistribute it and/or
* modify it under the terms of version 2.1 of the GNU Lesser
* General Public License as published by the Free Software Foundation.
* 
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
* Lesser General Public License for more details.
* 
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*
*/

#ifndef FDOCMSGLOBALS_H
#define FDOCMSGLOBALS_H

#ifdef _WIN32
#pragma once
#endif //_WIN32

#define CMS_PROVIDER_NAME                       L"OSGeo.CMS.3.5"
#define CMS_PROVIDER_DEFAULT_DISPLAY_NAME       "OSGeo FDO Provider for CMS"
#define CMS_PROVIDER_DEFAULT_DESCRIPTION        "Read access to Google map data store."
#define CMS_PROVIDER_VERSION                    L"3.5.0.0"
#define CMS_FDO_VERSION                         L"3.5.0.0"

namespace FdoCMSGlobals
{
    static FdoString* ConnectionPropertyFeatureServer       = L"FeatureServer";
    static FdoString* ConnectionPropertyAPIKey              = L"APIKey";
    static FdoString* ConnectionPropertyDefaultImageHeight  = L"DefaultImageHeight";
    static FdoString* ConnectionPropertyDelimiter           = L";";
    static FdoString* ConnectionPropertySeparator           = L"=";

    static FdoString* ClipFunctionName                      = L"CLIP";
    static FdoString* ClipFunctionRasterArgumentName        = L"raster";
    static FdoString* ClipFunctionMinXArgumentName          = L"minX";
    static FdoString* ClipFunctionMinYArgumentName          = L"minY";
    static FdoString* ClipFunctionMaxXArgumentName          = L"maxX";
    static FdoString* ClipFunctionMaxYArgumentName          = L"maxY";

    static FdoString* ResampleFunctionName                  = L"RESAMPLE";
    static FdoString* ResampleFunctionRasterArgumentName    = L"raster";
    static FdoString* ResampleFunctionMinXArgumentName      = L"minX";
    static FdoString* ResampleFunctionMinYArgumentName      = L"minY";
    static FdoString* ResampleFunctionMaxXArgumentName      = L"maxX";
    static FdoString* ResampleFunctionMaxYArgumentName      = L"maxY";
    static FdoString* ResampleFunctionHeightArgumentName    = L"height";
    static FdoString* ResampleFunctionWidthArgumentName     = L"width";

    static FdoString* ExtentsFunctionRasterArgumentName     = L"raster";

    static FdoString* DefaultSchemaName                     = L"CMS_Schema";
    static FdoString* DefaultSchemaDescription              = L"FDO CMS Schema";
    static FdoString* PropertyFeatId                        = L"FeatId";
    static FdoString* PropertyFeatIdDescription             = L"CMS Feature Identifier Property";
    static FdoString* PropertyRaster                        = L"Raster";
    static FdoString* PropertyRasterDescription             = L"CMS Feature Raster Property";

    static FdoString* PaletteAttrName                       = L"Palette";
    static FdoString* NumOfPaletteEntriesAttrName           = L"NumOfPaletteEntries";

    static FdoString *RasterMIMEFormat_PNG                  = L"image/png";
    static FdoString *RasterFormat_PNG                      = L"png";
    static FdoString *RasterFormat_JPEG                     = L"jpeg";
    static FdoString *RasterFormat_JPG                      = L"jpg";
    static FdoString *RasterFormat_GIF                      = L"gif";
    static FdoString *RasterMIMEFormat_TIFF                 = L"image/tiff";
    static FdoString *RasterMIMEFormat_JPEG                 = L"image/jpeg";
    static FdoString *RasterMIMEFormat_GIF                  = L"image/gif";
    static FdoString *ImageFormatPrefix                     = L"image/";
    static FdoString *RasterFormatSemicolon                 = L";";

    static FdoString *MapFormat_Google_roadmap              = L"roadmap";
    static FdoString *MapFormat_Google_satellite            = L"satellite";
    static FdoString *MapFormat_Google_hybrid               = L"hybrid";
    static FdoString *MapFormat_Google_terrain              = L"terrain";

    static FdoString *MapFormat_Bing_AerialWithLabels       = L"h";
    static FdoString *MapFormat_Bing_Aerial                 = L"a";
    static FdoString *MapFormat_Bing_Road                   = L"r";

    static FdoString *DefaultEPSGCode                       = L"EPSG:4326";
    static FdoString *DefaultEPSGCode2                      = L"CRS:4326";
};


#endif
